package com.yida.gwj.deposit.domain.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * @Description 单位批量缴费修改参数
 * @Author wws
 * @Date 2023-03-03
 */
@ApiModel("单位批量缴费修改参数")
public class GwjUnitDepositBusinessEditRequest {

    @ApiModelProperty("业务主键")
    @NotNull(message = "业务主键不能为空")
    private Long bizId;

    @ApiModelProperty("业务编号")
    @NotNull(message = "业务编号不能为空")
    private Long bizNum;

    @ApiModelProperty("申请人名称")
    @Size(max = 255,message = "申请人名称不得超过255个字符")
    private String applicantName;

    @ApiModelProperty("联系电话")
    @Pattern(regexp = "^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\\d{8}$",message = "请输入正确格式的手机号码")
    private String phone;

    @ApiModelProperty("建档编号")
    @Size(max = 100,message = "建档编号不得超过100个字符")
    private String archivesNum;

    @ApiModelProperty("物业地址")
    @Size(max = 255,message = "物业地址不得超过255个字符")
    private String propertyAddress;

    @ApiModelProperty("业务名称")
    @Size(max = 255,message = "业务名称不得超过255个字符")
    private String bizName;

    public Long getBizId() {
        return bizId;
    }

    public void setBizId(Long bizId) {
        this.bizId = bizId;
    }

    public Long getBizNum() {
        return bizNum;
    }

    public void setBizNum(Long bizNum) {
        this.bizNum = bizNum;
    }

    public String getApplicantName() {
        return applicantName;
    }

    public void setApplicantName(String applicantName) {
        this.applicantName = applicantName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getArchivesNum() {
        return archivesNum;
    }

    public void setArchivesNum(String archivesNum) {
        this.archivesNum = archivesNum;
    }

    public String getPropertyAddress() {
        return propertyAddress;
    }

    public void setPropertyAddress(String propertyAddress) {
        this.propertyAddress = propertyAddress;
    }

    public String getBizName() {
        return bizName;
    }

    public void setBizName(String bizName) {
        this.bizName = bizName;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjUnitDepositBusinessEditRequest{");
        sb.append("bizId=").append(bizId);
        sb.append(", bizNum=").append(bizNum);
        sb.append(", applicantName='").append(applicantName).append('\'');
        sb.append(", phone='").append(phone).append('\'');
        sb.append(", archivesNum='").append(archivesNum).append('\'');
        sb.append(", propertyAddress='").append(propertyAddress).append('\'');
        sb.append(", bizName='").append(bizName).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
